﻿using System;

namespace BusinessLayer.Attributes
{
    /// <summary>
    /// Base attribute for getting additional text information on enum members
    /// </summary>
    public abstract class BaseEnumExtenderAttribute : Attribute
    {
        /// <summary>
        /// Visible text
        /// </summary>
        public string Text;

        /// <summary>
        /// Initializes a new instance of the <see cref="DescriptionAttribute"/> class.
        /// </summary>
        /// <param name="text">Sets text.</param>
        protected BaseEnumExtenderAttribute(string text)
        {
            Text = text;
        }
    }
}